package com.ruoyi.http.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.http.domain.WeChat02200T;
import com.ruoyi.http.service.IWeChatTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/http/weChat02200")
public class WeChat02200 extends BaseController {

    @Autowired
    private IWeChatTService weChatTService;

    @GetMapping("/weChat")
    public AjaxResult http(WeChat02200T weChat02200T) {
        WeChat02200T weChat = new WeChat02200T();
        weChat = weChatTService.getHouseIdByOrderId(weChat02200T);
        return AjaxResult.success(weChat);
    }
}